package com.cd.javacxy.common.utils;

/**
 * @author yhy
 */
public interface Constants {
    int LENGTH_1 = 1, LENGTH_6 = 6, LENGTH_16 = 16, LENGTH_20 = 20;

    String SESSION_USER_KEY = "session_user_key";

    String COOKIE_USER_INFO = "cookie_user_info";

    int CONTINUOUS_SIGNIN = 7;

    int SMALL_IMAGE_WIDTH = 150;

    int SMALL_IMAGE_HEIGHT = 100;

    int MAX_FILE_NUM = 3;

    String USER_ICON_URL = "default_usericon/";
    String USER_BG_URL = "user_bg/";

    int EXAM_MAX_TITLE = 50;

    String Y = "Y";

    String N = "N";

    String REALPATH = "realpath";

    String CACHE_KEY_BBS_CATEGORY = "bbsCategoryCache";

    String CACHE_KEY_EXAM_CATEGORY = "examCategoryCache";

    String CACHE_KEY_KNOWLEDGE_CATEGORY = "knowledgeCategoryCache";

    String CACHE_KEY_ASK_CATEGORY = "askCategoryCache";

    String CACHE_KEY_CATEGORY = "CategoryCache";

    String ERROR_404 = "/error/404.html";

    String LOGINABSOLUTEPATH = "/signin";

    String TASKKEY = "taskkey";

    String SOLRSERVERURL = "http://localhost:8080/solr";

//	public static final String ABSOLUTEPATH = "F:/development/FzqBlog/blog-web/src/main/webapp";// /home/default/apache-tomcat-7.0.34/webapps/blog-web"
//	public static final String DOMAIN = "http://localhost"; 


    String ABSOLUTEPATH = "/home/default/apache-tomcat-7.0.34/webapps/blog-web";
    String DOMAIN = "http://www.fzqblog.top";
    /**
     * 拦截器忽略拦截的url
     */
    String[] EXCLUDE_PATH_PATTERNS = {
            "/",
            "/index"
            , "/signin"
            , "/index"
            , "/static/**"
            , "/logout"
            , "/faq"
            , "/reg"
            , "/ss"
            , "/findpassword"
            , "/findpwd"
            , "/login"
            , "/favicon.ico"


    };

    /**
     * email分割符号
     */
    String AT = "@";
}
